from setuptools import setup
import os
from glob import glob

package_name = 'tf2_web_republisher_py'

setup(
    name=package_name,
    version='0.0.0',
    packages=[package_name],
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
        ('share/' + package_name + '/launch', glob('launch/*')),
        ('share/' + package_name + '/config', glob('config/*')),
    ],
    install_requires=[
        'setuptools',
        'numpy',
        'pyquaternion'
    ],
    zip_safe=True,
    maintainer='schoen',
    maintainer_email='schoen.andrewj@gmail.com',
    description='TF2 Web Republisher for ROS2',
    license='Apache License 2.0',
    entry_points={
        'console_scripts': [
            'tf2_web_republisher = tf2_web_republisher_py.tf2_web_republisher_py:main'
        ],
    },
    # 使用 python.test 而不是 tests_require
    python_requires='>=3.6',
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: Apache Software License',
    ],
)